package com.huawei.gamebox.service.common.cardkit.node;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewGroup.LayoutParams;
import android.widget.LinearLayout;
import com.huawei.gamebox.service.common.cardkit.card.BuoyTitleCard;
import o.cih;
import o.exp.j;

public class BuoyTitleNode extends BaseGsNode {
    public BuoyTitleNode(Context context) {
        super(context);
    }

    public boolean ˊ(ViewGroup viewGroup, ViewGroup viewGroup2) {
        View inflate = LayoutInflater.from(this.ॱ).inflate(j.ˋॱ, null);
        LayoutParams layoutParams = new LinearLayout.LayoutParams(-1, -1);
        layoutParams.weight = 1.0f;
        inflate.setLayoutParams(layoutParams);
        cih buoyTitleCard = new BuoyTitleCard(this.ॱ);
        buoyTitleCard.ˏ(inflate);
        ˊ(buoyTitleCard);
        viewGroup.addView(inflate);
        return true;
    }
}
